﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Squog_1._1.Managers;


namespace Squog_1._1
{
    class Scanner : PhysicsObject
    {
        private bool inPlay;
        public bool InPlay
        {
            get
            {
                return inPlay;
            }
            set
            {
                PhysicsOn = value;
                inPlay = value;
            }
        }

        public Scanner(SpriteSheet Sprites)
            : base(Sprites, 5)
        {
            Position = Vector2.Zero;
            Scale = 0.5f;
            Depth = 1;
        }

        public override void PhysicsUpdate(GameTime gameTime)
        {
            
            base.PhysicsUpdate(gameTime);
        }

        public override void Draw(Vector2 ScreenPosition)
        {
            if(InPlay)
                base.Draw(ScreenPosition);
        }
    }
}
